package atm;

import java.io.Serializable;

/**
 * ATM用户类
 */
public class User implements Serializable {
    /**
     * 账号
     */
    private String account;
    /**
     * 密码
     */
    private String pwd;
    /**
     * 余额
     */
    private double blance;

    public User() {
    }

    public User(String account, String pwd, double blance) {
        this.account = account;
        this.pwd = pwd;
        this.blance = blance;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public double getBlance() {
        return blance;
    }

    public void setBlance(double blance) {
        this.blance = blance;
    }
}
